package com.blkbox.javase.thread.ex1;

public class MyRunnable implements Runnable {
	private String name;

	public MyRunnable(String name) {
		this.name = name;
	}

	@Override
	public void run() {
		for (int i = 0; i < 5; i++) {
			for (long k = 0; k < 10000; k++);
			System.out.println("name is: " + name);
		}
	}

}
